home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / scheme / schematk / src_1152.lha / Doc.subproj / DocWin.h < prev    next >
Encoding:
Text File  |  1991-12-15  |  2.2 KB  |  72 lines

  1. /* Copyright รก 1991 Gustavus Adolphus College.  All rights reserved.
  2.  *
  3.  * Schematik was developed by Gustavus Adolphus College (GAC) with
  4.  * support from NeXT Computer, Inc.  Permission to copy this software,
  5.  * to redistribute it, and to use it for any purpose is granted,
  6.  * subject to the following restrictions and understandings.
  7.  *
  8.  * 1. Any copy made of this software must include this copyright
  9.  * notice in full.
  10.  *
  11.  * 2. Users of this software agree to make their best efforts (a) to
  12.  * return to the GAC Mathematics and Computer Science Department any
  13.  * improvements or extensions that they make, so that these may be
  14.  * included in future releases; and (b) to inform GAC of noteworthy
  15.  * uses of this software.
  16.  *
  17.  * 3. All materials developed as a consequence of the use of this
  18.  * software shall duly acknowledge such use, in accordance with the
  19.  * usual standards of acknowledging credit in academic research.
  20.  *
  21.  * 4. GAC makes no express or implied warranty or representation of
  22.  * any kind with respect to this software, including any warranty
  23.  * that the operation of this software will be error-free.  ANY
  24.  * IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR
  25.  * PURPOSE IS HEREBY DISCLAIMED.  GAC is under no obligation to
  26.  * provide any services, by way of maintenance, update, or otherwise.
  27.  *
  28.  * 5. In conjunction with products arising from the use of this
  29.  * material, there shall be no use of the name of Gustavus Adolphus
  30.  * College nor of any adaptation thereof in any advertising,
  31.  * promotional, or sales literature without prior written consent
  32.  * from GAC in each case.
  33.  */
  34.  
  35. #import <appkit/Window.h>
  36.  
  37. @interface DocWin:Window
  38. {
  39.     id    scrollView;
  40.     id    textView;
  41. NXZone    *docZone;
  42.   BOOL    named;
  43.   BOOL    hasBackup;
  44.   char    *filename;
  45. }
  46.  
  47. + new;
  48. + performOpenFromFile:(char *)aString;
  49.  
  50. - performFormat:sender;
  51. - performRevert:sender;
  52. - performSave:sender;
  53. - performSaveAs:sender;
  54. - undo:sender;
  55. - print:sender;
  56.  
  57. - (id)scrollView;
  58. - (id)textView;
  59. - (const char *)filename;
  60. - setFilename:(const char *)aString;
  61. - (BOOL)named;
  62. - setNamed:(BOOL)aBoolean;
  63.  
  64. @end
  65.  
  66. @interface DocWin (Private)
  67.  
  68. - (void)_newAuxiliary;
  69. - (void)_saveAuxiliary:(NXStream *)stream filename:(char *)file;
  70.  
  71. @end
  72.